package com.fsz.pachong.pachong.dao;


import com.fsz.pachong.pachong.entity.Record;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * InnoDB free: 9216 kB
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-10-15 11:06:19
 */
@Mapper
public interface RecordDao {

	Record get(Long id);
	
	List<Record> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(Record record);
	
	int update(Record record);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	Record getByName(Record record);
}
